package com.service.bill;

import com.dao.bill.BillMapper;
import com.javabean.Bill;

import java.util.List;

public class BillServiceImpl implements BillService {

    private BillMapper billMapper;

    public void setBillMapper(BillMapper billMapper) {
        this.billMapper = billMapper;
    }

    @Override
    public int add(Bill bill) {
        return 0;
    }

    @Override
    public List<Bill> getBillList(int isPayment, String proName, String productName) {
        return billMapper.getBillList(isPayment, proName, productName);
    }

    @Override
    public int deleteBillById(Integer delId) {
        return billMapper.deleteBillById(delId);
    }

    @Override
    public Bill getBillById(String id) {
        return null;
    }

    @Override
    public int modify(Bill bill) {
        return 0;
    }

    @Override
    public int getBillCountByProviderId(String providerId) {
        return 0;
    }
}
